Shoe Sorter

Properties

Name Type Description
Running Boolean Gets/Sets the running state of the sorter
Speed Number Gets/Sets the speed of the sorter
AccelerationEnabled Boolean New in V7.5. Gets/Sets AccelerationEnabled.
Acceleration Number New in V7.5. Gets/Sets the Shoe Sorter’s acceleration value in the units chosen when the project was created (metres or feet) / second squared. Cannot be zero
Deceleration Number New in V7.5. Gets/Sets the Shoe Sorter’s deceleration value in the units chosen when the project was created (metres or feet) / second squared. Cannot be zero
UseAccelerationInTimeMode Boolean New in V8.3. Default is true i.e 'Use Time (in seconds)'. Allows the selection of the acceleration time in Speed/Time or a simple time in seconds to reach the speed.
AccelerationInSeconds Number New in V8.3. Gets/Sets the simple acceleration time in seconds to reach the speed
DecelerationInSeconds Number New in V8.3. Gets/Sets the simple deceleration time in seconds to reach the speed
TargetSpeed Number New in V7.5. Gets/Sets the TargetSpeed. Can be used during acceleration/deceleration
PrePositionShoe Boolean Pre positions the shoes either on the left or right side of the sorter, false positions to the left
PrePositionerProxStatus Boolean Gets the status of the pre-position proximity detector
ZeroShoeDetectProxStatus Boolean Gets the status of the zero shoe proximity detector
LeftShoeDetectProxStatus Boolean Gets the status of the left shoe proximity detector
RightShoeDetectProxStatus Boolean Gets the status of the right shoe proximity detector
LeftShoeConfirmProxStatus Boolean Gets the status of the left shoe confirmation proximity detector
RightShoeConfirmProxStatus Boolean Gets the status of the right shoe confirmation proximity detector
ChainStretchProxStatus Boolean Gets the status of the chain stretch proximity detector
ShoeDetectPE Boolean Gets the status of the shoe detect proximity detector
ProductCount Integer Gets the number of product items currently on the sorter
BaseColor String New in V7.0. Gets/Sets the name of the color of the base
SlatsColor String New in V7.0. Gets/Sets the name of the color of the slats
ShoesColor String New in V7.5. Gets/Sets the name of the color of the shoes
BaseVisible Boolean New in V7.0. Gets/Sets the visibility of the base
SlatsVisible Boolean New in V7.0. Gets/Sets the visibility of the slats
ShoesVisible Boolean New in V7.5. Gets/Sets the visibility of the shoes
EncoderEnabled Boolean New in V8.0. Gets/Sets to enable the calculation of DistanceTravelled by transporter
DistanceTravelled Number New in V8.0. Gets the distance travelled by the transporter since the simulation is started, measured in millimeter for metric(metres) and inches for imperial(feet) units
MaxDistanceTravelled Number New in V8.0. Gets/Sets Max value for distance Travel by the transporter in the currently defined system units

Events

OnProductAdded

Invoked when product is added to the shoe sorter

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Callback Signature

void xxxxxxxxxxxxxxxxx (sender: object, product: Product);

 

Name Type Description
sender Object The ShoeSorter associated with the changed property
product Product The added product object instance

OnProductRemoved

Invoked when product is removed from the shoe sorter

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Callback Signature

void xxxxxxxxxxxxxxxxx (sender: object, product: Product);

 

Name Type Description
sender Object The ShoeSorter associated with the changed property
product Product The removed product object instance

OnShoeDiverterProxStateChange

Invoked when the state of a diverter proximity sensor changes

Note: This event does not support multiple subscription. Previous subscription will be lost if subscribe twice.

Callback Signature

void xxxxxxxxxxxxxxxxx (sender: object, exit: object, slatID: integer, state: boolean);

 

Name Type Description
sender Object The ShoeSorter associated with the changed property
exit Object The conveyor object which is the exit point
slatID Number The slat identifier
state Boolean True indicates the diverter is in operation, False that it is not

Functions

void DivertShoes(target: Conveyor, state: boolean);

Called to change the position of a shoe diverter

Name Type Description
target Object The conveyor associated with the divert request
state Boolean True is a request to divert, false is a request to not divert

Return value - NONE

Array GetCurrentSpeed()

New in V7.5. Gets the current speed. Can be used during acceleration/deceleration

Return value - (double) current speed value in the units chosen when project was created

 

boolean DiverterProxStatus(target: Conveyor);

Called to get the status of the shoe diverter proximity switch

Name Type Description
target Object The conveyor associated with the diverter

Return value - True indicates the diverter is currently diverting, false that it is not